home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000286_news@columbia.edu _Mon May 8 12:37:21 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA25979
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 8 May 2000 12:37:21 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA13609
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 8 May 2000 12:37:21 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA22130
  10.     for kermit.misc@watsun.cc.columbia.edu; Mon, 8 May 2000 12:30:32 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: Control of RTS
  14. Date: 8 May 2000 16:30:30 GMT
  15. Organization: Columbia University
  16. Message-ID: <8f6q36$ljf$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <3916E423.24345C73@rdel.co.uk>,
  20. Martin Tharby Jones  <martin.jones@rdel.co.uk> wrote:
  21. : I need to be able to set the state of the Request To Send line on the
  22. : serial port either from the kermit command prompt or via an external
  23. : program. Using kermit I can monitor the state of some of the handshake
  24. : lines on /dev/ttya but I do not know of any command to set the outputs.
  25. :  Carrier Detect      (CD):  Off/On (input)
  26. :  Clear To Send       (CTS): Off/On (input)
  27. :  Data Terminal Ready (DTR): On     (output)
  28. :  Dataset Ready       (DSR): Off    (input does not change)
  29. :  Request to Send     (RTS): On     (output)
  30. :  Ring Indicator      (RI):  Off    (input does not change)
  31. : C-Kermit>show versions
  32. : Versions:
  33. :  C-Kermit 7.0.197, 8 Feb 2000
  34. :  Numeric: 700197
  35. :  Built for:  SunOS 4.1
  36. :  Running on: SunOS 2 4.1.4 sun4m  (SPARCclassic with Cycle Computer
  37. :
  38. Most versions of UNIX, including SunOS, don't have an API for
  39. this (SunOS includes an "old" (4.2BSD) API for clearing and setting
  40. DTR, but nothing for RTS).  It would have to be done at the driver level.
  41.  
  42. In any case, even in the few cases where such APIs exist (as in HP-UX),
  43. there is no feature in C-Kermit to take advantage of it.
  44.  
  45. - Frank